package com.zmn.oms.common.dio.redistribute;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 类描述：申请改派前置校验
 *
 * @author liudi
 * @since 2022-9-26 14:45:10
 */
@ApiModel(value = "申请改派前置校验 DIO")
@Data
@ToString
public class CheckApplyRedistributeDIO implements Serializable {
    private static final long serialVersionUID = -7696470953987385124L;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @ApiModelProperty(value = "工单id")
    @NotNull(message = "工单id不能为空")
    private Long workId;

    @ApiModelProperty(value = "预约时间")
    private Date dutyTime;
}
